package com.eastfair.venuebooking.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * 公海客户DTO.
 *
 * @author dqq
 * @date 2022 /6/10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
public class CustomerMainPublicDTO implements Serializable {

    @ApiModelProperty(value = "客户列表")
    @NotEmpty(message = "移入公海的客户列表不可为空", groups = CustomerMainDTO.Public.class)
    private List<CustomerMainDTO> updateList;

    @ApiModelProperty(value = "备注")
    private String remark;
}
